Core: Window restore hook now delays on restore