fix an strange visual behavior with tg-tag-line directive