Colors for labels change after control filters are applied

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): /v 2.16.0/Linux/Chrome

Describe the issue:

I am using opensearch-dashboards, and have included a “control” to be able to implement interactive “filters”.

However, I notice that quite often, when I apply filters, the color of the legends/labels cahnge – in other words, the colors of my visualizations are screwed up, since the color of a legend/label changes after a filter is applied.

Configuration:

Note, I’m applying this config, in the hopes that this helps with the colors… but it really doesn’t:

(in the uiStateJSON block):
{
“vis”: {
“colors”: {
“critical”: “#c1553f”,
“high”: “#e7664c”,
“medium”: “#da8b45”,
“low”: “#ddca73”,
“untriaged”: “#dddd73
}
}
}

Relevant Logs or Screenshots:

N/A

Any clues?

Thanks,
Fer