Fix not freeing textures after rendering text