Steps to reproduce:
1. Open the attached “ImageTypeBug” project
2. Open the “SampleScene” scene
3. Enter Play Mode
4. Press the left mouse button over the UI on the left of the Game view
5. Observe the Console
Expected result: Debugs how many UI elements have been hit
Actual result: In some places, there are no UI elements hit, even though the mouse was hovering over the UI
Reproducible with: 2020.3.47f1, 2021.3.21f1, 2022.2.12f1, 2023.1.0b9, 2023.2.0a6
Reproduced on: macOS Monterey 12.2 (Intel), Windows 10 (by user)
Note: In the Hierarchy window selecting “Inventory BG” child GameObject of Canvas/Inventory Container/Inventory BG GameObject and changing its Image Type property, under Image component, to Simple or Filled, fixes the issue, but resizes the Image