Photo upload image rotation fix on mobile