fix rgb color bug when converting to metapost