Move dispatching of focus-related events from Node to Element.