This happened to me a number of times too. The thing I noticed is that I get this bug when entering the castle when Alduin is shaking the ground (and the screen), so if you time it wrong you get that bug where your screen keeps shaking inside the castle and you're unable to move. Hope this helps.