Fix UndotreeToggle.