Fix bug when origin=upper