canvas id renamed from grid to canvas