Fix the issue that group does not destroy its children