Removes global shadergenerator proxy, using the instance done by osgViewer