Fix for iOS 7 modal view