Fixed a bug where the image would not appear rotated when the application was in a different orientation.