Fix crash in WebView.