Fixing Image rotation.