fixed border dragging errors