Fix null IColor error while editing in 10.0