Changed the calling of the mainLoop to use the core instance as "this" inside of the callback function.
Changed the calling of the mainLoop to use the core instance as "this" inside of the callback function.

1up-lab/ocanvas,koggdal/ocanvas