Uses autoreleasepool properly when searching for UIAccessibilityElement or UIView