fixed CompositeBehavior.remove_all_subbehaviors()