Apparently jquery height attr setter does not work for canvas.
My attempts to control the size of the canvas with CSS have failed.
Force a large width for the canvas. This makes it fill its container properly.