Fix resize.