Fix some Grids bugs.