This happens to me sometimes. If I alt-tab out of the game and then alt-tab back into it, the cursor is able to move again.