fix drag-n-drop when using headerSpan option