Maybe you're experiencing https://github.com/ValveSoftware/steam-for-linux/issues/10551#issuecomment-2305454689
Don't have Lutris already running before starting the game, don't use flatpak Lutris and don't use gamescope. Basically make the way from Steam to the game as short as possible.