expose setCanvasSize
Merge pull request #1527 from inolen/setcanvassize

export setCanvasSize to Module object