Fixes broken $.sortable when it contains an uninitialized RTE.