Add bugfix for duplicate palette definition