Fix inverted formatting values in ChatMessageSegment