Fixed bug concerning line coloring.