When canvas is created bind resize event
Merge pull request #2 from thisislawatts/master

Canvas Resize Event