- moved all rendering events to canvas class