fix ugly resizing of QWebView