fixed canvas growing issue
Merge pull request #23 from sunny-g/master

fixed canvas growing issue