Fix for threading bug in GlyphCache.