A few times when playing minecraft, when it opens my mouse would get stuck in a rectangle shape. I couldn't move out of it or click on the minecraft window. I was forced to restart my PC. I can't reproduce this yet.
A cause might be that the game thinks your logged in and you couldn't move your head past that range.
Hi, would MC-271193 describe your issue?