Grid system for the canvas element