fixing unity exception for child collisions