Fix: better method of erasing the grid canvas.