Fix display math confusing new CM versions.
(see 8b13d438acc6e417c76dce5abc077e78062e41c1, fe041259662b5ceb8716506fc175a62cca6bd5c6)
Update CM to 3.18.0.