Fixed crash on glyphs with horizontal and vertical lines.