Fix dragging borders