Significant performance drop in any native Linux game when the system cursor is not in focus

In any native game, when the cursor disappears, stuttering starts and the GPU load drops
video of this happening
This does not happening with a proton, anyone have any ideas why its like that?

kde 6.8 wayland
System settings - Display configuration - Color accuracy: choose “prefer color accuracy” instead of “prefer efficiency”