My Galaxy S9+ got recently the OneDrive integration in the Gallery app. All the pics I had on my OneDrive (+300GB) started syncing to the gallery which is great, but most of them did it in the wrong orientation and those pictures will be deformed if you open them (see screenshot attached). This applies only to pictures that were taken in vertical mode. If I click on "edit", the editor will "fix" the orientation issue and the picture will be shown correctly after that. But as I have thousands of pictures on my collection, I would like to know if there is another fix for this issue.