Fixed some bug in WebView