Problems with vertical palates

this is a Vertical palate
image

however let’s try to make one in PMNG to see what happens
original palate
image

now let’s re arrange the colors in the palate
image

and then when you add colors this happens
image

the colors get all screwed up and shift

Please fix this Jan.cosmigo you have a terrific program here and it is clearly the best for pixel art ever!