Canvas Resize Event

When a canvas object is create it will also bind an event to window resize