Fix exception upon closing page editors. this.getGlobal() sometimes
was returning undefined when Context.js:unloadStyleSheet() is called
from deactivate logic.