Fixed reloading when image is not uploaded yet.