More fixes to sortable/draggable directive.