Fixed display issue where edges were intersecting