CMS-3352 Instantiate ContextWindow only once