Fix bug for save crop image