gets root window from robot in all cases