How to prevent Cmd-Q from typing "q" in the new foreground app?
Tested and mine doesn't do this.
Try to turn off key repeat: (mine below is not off)





Maybe you have a non-Apple keyboard with anti-ghosting?