Heyo. To make sure it grabs the correct window, you'll want to make sure you're using a window capture with the Window Match Priority set to "Window title must match".