Fix tab drawing.