Fix activity orientation.
Adjust transformed images's aspect ratio.