Rotation bug fix in iOS 6.0