fix repositioning freeze