fixed image resizing bug coming from uiimageview