iirc the bug is usually caused by a second joystick input that makes the game's camera hold a NaN value. it sounds like you were trying to play with keyboard, but is it possible you had controller connected? or perhaps the game was picking up an old bluetooth controller connection that didn't disconnect properly?
sorry you've run into this issue