Fix for iPad iOS 7