Question / Help Can't capture 2 Windows at once

Im trying to use a splitter with a game and I have the display capture moved over so there room for the window capture next to it but everytime i record and start the game the window capturing the splitter becomes black. How do I record these 2 windows at the same time