Canvas is the size of the document, or the size of the window, whichever is greater