Fix for iOS7.