Show HUD controls when switching back from other applications

Closes #1274 (Mouse cursor doesn't get hidden after switching applications)