Fix layout issue with tables