FWIW, this should be `fabric.document.createElement('canvas')` or even better `fabric.util.createCanvasElement` (to ensure IE and Node support).