fix inheritance of border color