Reproduction steps:
1. Open the attached project “NoClick”
2. Build and run (File > Build And Run)
3. In the Player click on the button in the middle and wait a few seconds (the window will be resized)
4. When the Player window is resized, click on the button again
Expected result: The counter on the button increases after each click
Actual result: The button doesn’t register any clicks
Reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.6f1, 2023.2.0b2
Reproducible on: Windows 11
Not reproducible on: Intel macOS 13.4.1 (c)
Note: At least two screens are needed to reproduce the issue