Fix strange missing context issue on embedded layout (SCORM popup).