Gamescope and Wayland cant move camera

Hello when i try gamescope or wayland with cs2 i cant move the camera the mouse doesnt get grabbed it is also reversed sometimes