I have looked into this and found that OBS has a bug when streaming .net WPF applications using "Window Capture". I have reported this on the OBS forum and I have a solution in place when they fix the bug.
I know the performance is rough but it does work in OBS when using "Monitor Capture"
Monitor capture is, unfortunately, not a good solution for me. Will eagerly switch when OBS fixes that issue.