I did rotate manually (cmd+r, cmd+shift+r) and then cmd+sthen it'd say cannot save image (or something to that extent)
and when I reopen the picture, the orientation's back the way it was before..