Thanks for more of the backstory!
Another data point… I’ve recently switched from Gnome (mutter) to Sway (wlroots ) and this same issue is present with both display servers / compositors.
FWIW both were built as pure native Wayland with no Xwayland support compiled in.