Fix saving/loading fixed size palettes