Our palette is RGB888, while game expects palette to be VGA (RGB666). Fix the problems caused by the assumption.