Fixed problem with node alignment.

The problem was caused by the separation constraint having a different separation than the ideal spring length. This is still possible in some cases - it might be nice to fix that.