Make keydownEvent more realistic for modifier-only keystrokes