Fixes a font rendering bug on windows.