Account for EXIF orientation flag