Set defaults for canvasWidth and canvasHeight