Fixed walking while not moving bug.