<p>For some reason, when I open the page and I draw some lines on the canva

For some reason, when I open the page and I draw some lines on the canvas, I get this error in the log (TypeError): Cannot read properties of null (reading 'forEach') Maybe someone encountered this problem and knows how to solve it