fix bug with interpolation parameter in scale and resize