added initial cropping if resized