Fix for iOS 7 popover