Fix coordinate grid.