Fix tag chips linespacing issue on edge cases.