fixed the problem with fonts drawing