I've had that on mint but when I switched to arch with Wayland kde it stopped happening. I also had issues where if my display goes to sleep game will freeze.
I had the same issue when using a touchpad (on Wayland) and when I tried wine-staging-9.0-rc4 it worked without any issues anymore. Both using the wayland and x11 graphics backend.