Fixed leak in OpenGL Window.