fixed finalization of AutomationElement and AutomationElementCollection