Fixed bug where element could not find subelement byIosUIAutomation