fix the vertex raster sort bug