Fix font flickering due to missed check in font cache.