common: small fix for 32 bit color