Fixes the palette getting more colours