Fixed problem with polyline colors not being set to render state correctly