Fix regression of focus window state restoration, upon chart re-render.