I noticed this on Mac, but I assume it affects other platforms. When you put fractions and other tall things inside $$ for Tex math rendering, the lines run into each other. When a line contains Tex math rendering, the spacing for that line needs to be increased to keep fractions from running into each other.