Weird fallback handling for iOS 5. Closes #362