Image quality issues when capturing 13mp yuv on Jetson Xavier AGX

I have tried reducing the frame rate. The problem is still there.
Here is a raw image captured using v4l2-ctl method.

4208x3120.yuv (25.0 MB)

At the end of every second line there are 16 pixels all set to zero.

I have found more forum posts that report the same image issues.

It seems to be a problem with alignment but I can’t find any info on what the constrain is.
Why is the image okay at 4192 width and not at 4208? Is there a way to make 4208 work?

I have also tried the solution from this post:

prefered_stride 256 had no effect. I’m not sure i understand the setting. What does it do? Is it even enabled?

Tegra release version:
# R32 (release), REVISION: 5.2, GCID: 27767740, BOARD: t186ref, EABI: aarch64, DATE: Fri Jul 9 16:05:07 UTC 2021