This causes the palette to be drawn twice :-1:.