Fix bug regarding font rendering.