Dragging now works as intended