allow merging sprite groups with equal parents