fix photo position in iOS 7