fixed some draggability bugs