Save reference to canvas element so  listeners can be attached to it