Fixes lightning colliding

The collide function was modifying the node properties, which are used in all nodes.
Addresses #1665.