Fix line basic material attributes