fix intersection bug for the vertex raster