bug fix to support both list and node dragging