canvasRender canvas size fix

The canvas now resizes with the browser window.