repair overzealous removal of redundant color commands