Fixed a bug where a disabled / identity node would still have influence
on the clip prefs.

Also rearrange code in Edge.cpp and make it faster