Fixed the size of canvas.
Revert "Fixed the size of canvas."

This reverts commit ba64bf9339a638e9669918f0b3150fea84f7129b.