Resolved an issue where the border was not being added to segments.