fix bug when segment is attached to a corner node
Authored by: levans 2008-04-21
Parent: [r643]
Child: [r645]