Store lines and draw them in the render loop