Keep null refresolver from getting added to eventlistener for event refs

The special casing for `event` references was leaving a null resolver in `EventListeners`, which trips up the code to remove event listeners in `unbind`.

Fixes #1438