Drawing cells in grid off/on states