Fix to ResizeEngine and Image-clamping