Fixed out of range vector access

When animation is not looping, play was trying to access past sequence
vector end.
Also clamped minimum velocity so that players come to a stop
consistently when no movement keys are pressed.