Check for CCBAnimationManager type in cleanup