Break a looping animation when a new animation is added after it.

If a looping animation is set then any following animation added will never get played unless the loop property of the last animation is set to false.

This change explicitly sets the loop property of the last entry to false when adding an animation.