Handle exceptions when animating.