Fix for not writing correct downsample value on scale transform output.