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
Merge pull request #82 from arv/retarget-fix

Fix for calculating the event parent