Render a maze inside a canvas