cc: Don't UpdateAnimationState when not visible or can't draw.