Fix loading image.