Clear the cache of SDL_ttf fonts on resize.