fix top window redirected by iframe issue