Just to update. I finally tested this with X11 and cannot reproduce the bug there. Seems to be another issue with Nvidia and Wayland.
Just to update. I finally tested this with X11 and cannot reproduce the bug there. Seems to be another issue with Nvidia and Wayland.