When a popover includes panels, the calculation of whether the mouse is over the panel header does not take into consideration local 2D scaling. Therefore the hit area is in the wrong location if scaled. Pull Request: https://projects.blender.org/blender/blender/pulls/122696