Trying to set the canvas size cleanly