Moving mouse listener from scene to webview (browser) - fixing compilation error