fix canvasGrid