Fix the display issue of flat ui tags.