How to reproduce:
1. Open user-attached project “ui_test”
2. Open the “SampleScene” scene
3. Enter the Play Mode
4. Click on the “Toggle Parent Canvas” button
5. Click outside the button
6. Observe the TextField with the Raycast count
Expected result: The TextField is “Raycast result count: 0”
Actual result: The TextField is “Raycast result count: 1”
Reproducible with: 2020.3.40f1, 2021.3.10f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a10
Reproducible on: Windows 11 Pro, macOS 12.5.1 (M1)