am e6d36bb2: Merge "Check the offset of output rect when cropping image." into jb-dev

* commit 'e6d36bb213c749a750bffd5e37ce85c232a64ff3':
  Check the offset of output rect when cropping image.