fixed a bug in the board view’s use of the grid: now properly accounts for empty spaces