Fix armature advanceTime when disposing in animation complete event

We dispose armatures usually at the end of an animation. This cause a bug because the advanceTime method of Armature did not check if the fields were set to null after the animation complete event is broadcasted.