Fixed that manual player movement does not cancel pending action.
Fixed bug movement update logic which could lead to client crashes.