Once again, we don't want ImageEditor to have to know anything about EXIF orientation, so we make sure the image is correctly oriented before we pass it to the image editor.