Somehow legend colors got mixed up after generating features:
@joris Did you create a version of this by any chance?