Fixed dragging long nodes issue. Undo now works.