ui: Change scrollbar hitbox insertion (#40008)

Closes #39974

Since the thumb hitboxes themselves do not propagate events, we need to
paint the normal parent hitbox on top of the other ones. This also
caused hover detection to fail, which caused the issue linked.

Release Notes:

- Fixed an issue where hovering scrollbars in hovers would dismiss
these.
d4b5bb9f17Finn Evers committed on 10/11/2025, 10:00:03 AM· committed by GitHubparent74d92fd
1 file changedLine totals unavailable