Attempt a workaround for having Auto Profile creation work on SteamOS BPM.

WM_STATE is not available in that X session so STEAM_GAME
is also checked if WM_STATE cannot be found.