fix #1843 Double click to select word does not work for Qt QWebView