Make hovering over lines change their color on the canvas.