When I click on the canvas, a point is stamped at the corresponding coordinates, and I want the points to connect with lines. But now, the dot doesn\'t appear even if I click. I