Fixed glitch in closing popovers on iOS.