Adds quick osg::Switch hack implementation.