fixes #2544 so that tables automatically lay themselves out nicely without any columns overlapping