fixed #2280 Fixed video memory bug for WebGL removing texture

 Fixed video memory bug for WebGL removing texture