Need to reset isRescaling variable when resetting the ImageWriter. Reviewed-by: prr
Reviewed-by: serb, yan