Fixed a bug, where links weren't backed up properly before adding dummyNodes for the layout computation.