I've found what appears to be the trigger for this bug.
In general, I prefer to play on my own, not online, especially if I'm a fair distance into a game. If I'm invited to a multi-player game and reply to the effect of "No thanks", the keyboard shortcuts stop working. However, if I ignore the...