Fixed KaTeX overflow issue