Had the same issue, led me to changing camera app. Not sure why these settings fail to be permanent. I looked for an answer for a week, a year ago and gave up.
I don’t remember now exactly for sure, but it might be that it only happened in pre-installed openCamera, and if you install separate openCamera from f-droid it works well..