How to reproduce:
1. Open the user-attached project “Canvas Click 3.8”
2. Open the “SampleScene” scene and enter the Play Mode
3. Click the “Toggle canvas B” button
4. Click on the “Button A” button
5. Observe the Console
Expected result: “Clicked A” is logged in the Console
Actual result: “Clicked B” is logged in the Console
Reproduced with: 2021.3.5f1, 2021.3.11f1, 2022.1.6f1, 2022.1.17f1, 2022.2.0a4, 2022.2.0b8, 2023.1.0a10
Not reproduced with: 2020.3.40f1, 2021.3.4f1, 2022.1.5f1, 2022.2.0a3
Reproducible on: Windows 11 Pro, macOS 12.4 (M1)
Note: Also reproducible in Player