fixed CSG inside bug