Revert "fix getCroppedImage IllegalArgumentException"

This reverts commit f74a2a3d1d2fc5eed6dd924ca9eae91fc0c1ea01.