Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Build And Run the project (File > Build And Run)
3. Quickly spam the “ASDHJKL” keyboard keys in the Player for about 5 seconds
4. Stop clicking the keyboard keys
5. Observe the “EVENTS” key inputs in the Player
Expected result: Key inputs stop appearing
Actual result: Key inputs are delayed and continue to appear
Reproducible with: 2021.3.33f1, 2022.3.16f1, 2023.2.4f1, 2023.3.0a19
Reproducible on: macOS Sonoma 14.2 (M1 Max)
Not reproducible on: Windows 10
Note: Issue is not reproducible in the Editor Play mode