The highligt line painter did not always repaint regions when holding
down the mouse button.