refs #16534. Fixes a problem on iOS with WebView.