Fixed palette overflow