Fix bug with attribute colors