Similarly, when you switch to another app via command+tab, the keyboard events are being sent to the previous app for a couple of hundred milliseconds.
I cannot remember the number of times I quit the wrong app because of this or pasted something to the wrong window. I genuinely have to wait a second on every app switch.