Fix a bug where NativeImage::GetUrl() was always returning empty string