Fix memory leak on TexturedQuad