Fix masked small palette