After hiding cursor character can't move properly

Hello.
So I have this mechanic where you can show the mouse and interact with some actors and when you click again the cursor is hidden but not quite because now it’s like whenever the mouse hits the side of the viewport it limits the rotations of the actor and of the character. Check the video.
How can I fix this?
Thank you.

Hello there Sune_Wittrup, thank you for posting your video and question.

I am unsure exactly what happened on your end without seeing your blueprints, but one thing I would check is your SetInputMode. If you feel comfortable doing so, feel free to share a couple of images of what you’re working with.

Anecdotally, when I had a similar issue to this when implementing controller support for my UI, I found that using a delay after setting the input mode helps.

I await your response with additional details.