color glitch in resample_grid-example