fix typo in palette.Size()