:bug: Fix invalid layout when adding removing a color in a line