fix bug on Browserify component when embed on another window replacing containing window content
fix bug on Browserify component when embed on another window replacing containing window content

InteractiveIntelligence/Squire,ProtonMail/Squire,ProtonMail/Squire,gertsonderby/Squire,lzhengms/Squire,neilj/Squire,Endika/Squire,neilj/Squire,natejenkins/squire,xiamidaxia/Squire,gertsonderby/Squire,InteractiveIntelligence/Squire,yuhange/Squire,yuhange/Squire,natejenkins/squire,Endika/Squire,lzhengms/Squire,xfra35/Squire,xiamidaxia/Squire,xfra35/Squire