Prevent error thrown when removing event target

Fixes #1105.
Pool ancestors list so event system is reentrant
Merge pull request #1106 from spicyj/gh-1105

Prevent error thrown when removing event target