Fix for LatexBox