fixed crop bug on ios