Changed insert methods in SceneManager and RenderStateNodes.