Fix palette sizes