It turns out that the font used is responsible for setting this kind of thing. The images I posted were rendered with Cambra Math, the default math font on windows. I believe this is a bug (or a very poor stylistic choice) with Cambria Math.