Wrong gauge receives mouse events if two gauges are on top of each other

Version: tested with 1.5.19.0, older versions too

Frequency: Consistently

Severity: Low

Marketplace package name: A2A Simulations PA-24 Comanche

Context: In flight

Similar MSFS 2020 issue: Does not happen in MSFS 2020

Bug description:
Our aircraft have movable EFB that can be positioned anywhere in the cockpit. If the EFB is placed in front of another clickable gauge surface, the mouse clicks are received by the bottom gauge, not the EFB, in the area where both gauges overlap.

Repro steps:

  • Load PA-24 Comanche
  • From the EFB in Controls tab select GNS530 as shown on the screenshot
  • Position the EFB (by drag & drop holding one of the edges) in front of GNS 530
  • Notice how the clicks are not received by EFB any more over the marked area.

While this is a 2020 aircraft, the same also happens with our other addon which is a native 2024 model with a native 2024 EFB gauge.

This works correctly in 2020.

Attachments: