Fixed bug with photo orientation on iPhones
