Fix issue with event path in case of reprojection.

This fixes the issues we saw with https://github.com/toolkitchen/ShadowDOM/commit/e701c2e