Often, Windows mistakenly believes a background application is requiring focus attention. Editing the registry can force the switch: