small fix to top window resolving when on cross domain