Fun isnt it? I usually find it happens when I have respawned and am dashing back into battle. I find I cant turn just as I am trying to avoid ramming my opponent. Controls return by a quick press of 'Esc'.
Seems as if on respawn another window is still open and has focus hence why pressing esc returns control and focus.