If you use game capture, I'd suggest setting up a hotkey. This way you click on the program, then hit the hotkey and BAM it records that specific program even if you click on another program. It will only switch once hitting that hotkey. Personally I use the "Home" key. With this hotkey set up it will not automatically pick a program, you will still have to hit it once your stream is started to load it up.