Fix for calculating the event parent

We need to keep track of the event parent when we reditribute insertion points
since we cannot use `node.insertionParent`.

Fixes #79