Restoring taskBoxesToEndpoints after endpoints are recreated.