Fix wrong crop rect culculation after rotate device orientation.