Fix loading image for cropping if the image is not local