Fix for invlid caching of 8 color scheme

Fixes a problem where only the first 8 colors are used due to invalid caching.