Keyboard menu key opens context menu at the mouse pointer/cursor position

Steps to reproduce:

  1. Start typing
  2. Press menu key on the keyboard

Results:
Context menu opens at mouse pointer position, even when it’s outside of the application window and on another monitor.

Expected result:
Context menu should open at the position of typing pointer/caret.

System: Linux (both Flatpak and Appimage) and Windows
Version 0.8.18
Plugins: happens on naked version