Fixed some bugs concerning the onCanvas() method. Added an event listener for the parent window, which fixes a problem when the canvas is inside an iframe.
Fixed some bugs concerning the onCanvas() method. Added an event listener for the parent window, which fixes a problem when the canvas is inside an iframe.

koggdal/ocanvas,1up-lab/ocanvas