Fix edge routing issues for some graphs

Edges that are between real nodes and other edges are sometimes
misrouted because an impossible set of obstacles is generated. The
error seems to stem from the fact that edge padding is counted twice
instead of a single time leaving no space for an actual line.