Fix for templates inside `sortable-list` element.