A good observation.
Here are two hypotheses:
- Some software layer is trying to de-bounce the simulated keyboard input (not likely)
- There is a race condition exposed by the faster keyboard input speed of holding down a letter versus switching letters. There are essays on the AI2 thread model at FAQ Section: Waiting and Timing but I am not prepared for such a deep dive.