Fixed game focus detection.