fixed some small dragging bugs