Draw rounded border segments

This breaks outlines and collapsed borders
Fix outlines and collapsed borders in tables