WebView: Fix text edit shortcuts not working on non-latin keyboard layout

Closes #1494