Fixing 32bit surface palette