[BUGFIX] Change the order of the AJAX Request for image cropping