Tentative fix for restored window focus.