Fixed orientation in returned result image