Fixes issue where rotation was incorrect for local image in post preview and editor.