Fixes next top attached segment missing border #1219
Fixes piled attached #1219
Fixes #1219 colored attached segment formatting
Fixes #1219 Inverted segments do not have any border