line segments changing color during drawing