Fixed crash on iOS 6 iPad