Does this change if you dis-/enable "Config->Input->Decoding->Flip raw rgb" ?
If you upload a small sample I can try to reproduce and fix it, I suspect that "Flip raw rgb" might either have to be changed into a 'Flip RGB' or it's accidentally not only checked for RAW input.