Camera Preview doesn't recognize orientation change

I am using Capacitor 7.2 and the camera-preview 7.0.1 and I cannot figure out how to get a photo taken in landscape mode to not be sideways.

I have tried every possible iteration of rotateWhenOrientationChanged and disableExifHeaderStripping and nothing is working.

When I take a photo in portrait mode it works great!

However, if my phone rotation is locked and I turn the phone sideways, the photo will save in portrait mode, but with the photo sideways.

const cameraPreviewOptions: CameraPreviewOptions = {
				position: 'rear', // front or rear
				parent: 'mobile-photo-capture-content', // the id on the ion-content
				className: 'cameraPreview',
				width: window.screen.width, //width of the camera display
				height: window.screen.height - 200, //height of the camera
				toBack: false,
				storeToFile: false,
				disableAudio: true,
				enableZoom: true,
				rotateWhenOrientationChanged: true,
				disableExifHeaderStripping: true
};

await CameraPreview.start(cameraPreviewOptions);

All the previous issues say this should be fixed, but I cannot seem to get it to work.

Any ideas?