Fix the semantic nest issue

Apparently, there's a major bug in unicode-math (see
wspr/unicode-math#227) we have to work around.