Hotfix: prevent tarsum compute from crashing with empty layers