Fixed destroying of WebGLRenderer

When I tried to destroy an instance of WebGLRenderer I ran into two little issues that must have been overlooked. I'm not too familiar with the source, but they seemed simple enough to fix.