Fix tab layout.