Small bugfix to the grid.