Fixed the problem that the webview becomes black when loading a webpage.