Some animation stuff and fixed a leak issue with TextRenderer.