[Bug 56821] Keyboard modifiers behavior is unreliable