Removed dependency to QWebView and fixed resize problem