Fixed animation update bug and typo.

Removing an animation while the AnimationHandler was iterating over them
was causing an update to be missed resulting in a choppy 1 frame glitch.

Typo was preventing an optimization.