the cursor continues to draw when it leaves the canvas environment and the click event is released.
the cursor continues to draw when it leaves the canvas environment and the click event is released.