Bug fix in CS.prep for using raster point layer