Fix issue with graphs without custom colors.