Updated crop method to handle uncropped images