Mouse capture would oddly lock the camera's pitch which made progression impossible.
Are you using linux by any chance? I've had that issue on itch for several mouse capturing games where my camera would fling upwards. Turned out to be something related to wayland so was curious if maybe you're in the same boat.
Yep! I'm running CachyOS with KDE Plasma as my DE.