if no canvas, do not set up canvas event listeners