Images rotated on upload

When I upload a couple of images from my mobile, it uploads rotated on my WordPress, I found this is caused by an EXIF information from mobile https://stackoverflow.com/questions/22308921/fix-ios-picture-orientation-after-upload-php, is there any way to avoid it?
I tried a couple of plugins from wp.org but didn't work.

Maybe implement on Smush Pro.

Thanks in Advance.