Don't use local variable for resized image

If we use a local variable the actual resized/modified image by the  _imageResizeBlock will never be returned.