Halo Infinite Xbox Series X Mouse Issues

Aiming on the Series X version with the mouse makes me hit “invisible walls” where I can’t aim/look beyond them. How do I fix this?