fixed drag on resize