Fixed jQueryUI sortable bugs.