OBS recording of MonoGame Application has an issue

I noticed that my recordings of MonoGame apps have a thin white line at the top.

Here is a recording which shows the problem.

The resolution of the MonoGame application is 1920x1080 and in OBS the base canvas and output resolution are set to also the same resolution.

I thought maxbe somebody here knows what the issue could be here?

I think there must be something in there related to your code, I recorded many videos with OBS and never got a white line like that.
Can you try to record a cornflower blue screen in your machine and compare it?

Not sure what the original issue was. I just played with the transform in OBS and the source(s) (Window Capture) and then the recording was good and did not show a white line at the top.