Make Non-Looped Animations Play Once

This simple change to makes non-looped animations play once, as opposed
to looping if you continue to call play().