selectFrame should search from root frame