Problems with OBS and MSFS

You guys ever find a solution? I can stream just fine using the x264 but I really want to use the NVENC encoder but a weird thing happens.

To make the game not stutter I have to turn off the OBS preview. But when I do that the stream stutters. Now if I put MSFS2020 in window mode and select a different window, either OBS or file explorer, I can play the game just fine, looks fantastic, no stutters, stream looks good with no stutters. I can do this until I click back on MSFS2020 then the stream stutters! I wish I can a find a fix for that because the NVENC stream looks better than the x264.