This has the effect of "sticking" keys in RawKeyboard.instance.keysPressed, which in turn causes the Shortcuts widget to fail.
After a bit of research, it might be worthwhile to send events directly from the NSApplication to the engine. Looks like everything passes through - sendEvent before it is interpreted and delegated to the various the NSResponder methods.
Related to #36001