What version of libinput/mutter is in the Fedora setup where the bug is not present? Did you check that Fedora is using Wayland too?
What version of libinput/mutter is in the Fedora setup where the bug is not present? Did you check that Fedora is using Wayland too?