Don't limit _getElementsByUIAutomation to the mainWindow