Add element.parentFragment to EventHandler so action ref picks up context

Fixes #1453.