Stop adding motion in the kinematic character controller if the walk direction is near zero