[PATCH v3 3/4] uiautomationcore: Separate checking if a node is within the scope of a registered event from event invocation.