The color of the strokes was shifted when using Single Color or
Object Colorin Solid Display Mode. This was originally done so
that it was still possible to differentiate strokes and fills.
The fix allows for a completly flat shading by checking if the
Lighting Mode is set to Flat. If it is, then the colors are not
shifted for the strokes and everything will use the same color.