fix 2x resize in resize tool