Fix for cursor while dragging