Xenium avoid calling get_element_instances(); fix deprecation warning
#369
+39
−45
get_element_instances(); fix deprecation warning
#369