Fixed bug for result image size to resize according to crop selection