Fix layout of box tabs