Fix for iOS 7.