While walking if you press the key that opens the gui your player will continue walking after it is closed. Only way to resolve this is:
a) Pause and unpause
b) Press the key in which direction you were walking
I am on the latest patch of the game and Peacock. I am also on Linux but I doubt it makes a difference.