[WebView] Added option to force context menu to be opened on mouse release

This is needed for mouse gestures to be able to use right mouse button.
See #1280