Fix problem in which changeMedia event triggers hideScreen before the template data is ready and hideScreen crashes
Fix problem in which changeMedia event triggers hideScreen before the template data is ready and hideScreen crashes

FlixMaster/mwEmbed,kaltura/mwEmbed,tanyaLibatter/mwEmbed,joanpuigsanz/mwEmbed,tanyaLibatter/mwEmbed,bordar/mwEmbed,slash851/mwEmbed,omridevk/mwEmbed,omridevk/mwEmbed,FlixMaster/mwEmbed,FlixMaster/mwEmbed,slash851/mwEmbed,alexmilk/mwEmbed,alexmilk/mwEmbed,panda-os/mwEmbed,omridevk/mwEmbed,tanyaLibatter/mwEmbed,alexmilk/mwEmbed,bordar/mwEmbed,joanpuigsanz/mwEmbed,FlixMaster/mwEmbed,alexmilk/mwEmbed,panda-os/mwEmbed,slash851/mwEmbed,bordar/mwEmbed,slash851/mwEmbed,kaltura/mwEmbed,kaltura/mwEmbed,joanpuigsanz/mwEmbed,panda-os/mwEmbed,tanyaLibatter/mwEmbed,kaltura/mwEmbed,omridevk/mwEmbed,joanpuigsanz/mwEmbed,bordar/mwEmbed,panda-os/mwEmbed