Apparently this was caused by the issue described here:
PSA: Confusing Lightburn layer setting: “Flood Fill”