Fixed reloading thumbnails for images that have been rotated even if it's not necessary.