Look around becomes limited after button clicked

Hello everyone! Please, help.

Context: first person game for Android.

I have a UI menu with a button that pops up somewhere in the level. After I click click the button (in the editor, dev PC, that’s why I have the mouse), I’m teleported. That works, but from that moment on looking around becomes limited to an invisible rectangle. I suppose it has something to do with mouse input to camera control versus mouse input to click that button.

Any tips to put me in the right direction are highly appreciated.