Fixes a bug on windows with the font rendering.