Fix UI bug

If a composing message turned into a warning message, the proper
styling wouldn’t apply at first.