Reproduction steps:
1. Open the attached “ASDQWE” project”
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Press “W” key on your keyboard
5. Observe the message in the Console Window
6. Press “Esc” on your keyboard and repeat the 5th step
Expected result: No message is displayed
Actual result: “Cancel performed“ message is displayed
Reproducible with: 1.5.1 (2021.3.26f1), 1.6.1 (2021.3.26f1), 1.6.3 (2021.3.29f1, 2022.3.6f1), 1.7.0 (2021.3.30f1, 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a4)
Reproducible on: Intel macOS 13.5
Not reproducible on: No other environment tested
Note: If Default Map is set to UI, Player Action Map does not trigger