Unfortunately, I was unable to find the solution.
It’s been a while, and I could not figure it out, so I decided to use Bandicam instead
I know it’s not a solution, but at least it works if you want to record the game while moving the character around.