RenderWindow::RemoveRenderer invalid access
RenderWindow::RemoveRenderer invalid access

Change in order of operations. release the reference to the renderer
being removed after we are finished modifying it.

Change-Id: I19a1cbbf230655e81771431e7516f6841cc1bb83

berendkleinhaneveld/VTK,biddisco/VTK,SimVascular/VTK,msmolens/VTK,sumedhasingla/VTK,aashish24/VTK-old,hendradarwin/VTK,biddisco/VTK,ashray/VTK-EVM,biddisco/VTK,keithroe/vtkoptix,demarle/VTK,johnkit/vtk-dev,berendkleinhaneveld/VTK,ashray/VTK-EVM,keithroe/vtkoptix,aashish24/VTK-old,sankhesh/VTK,jmerkow/VTK,sumedhasingla/VTK,mspark93/VTK,msmolens/VTK,keithroe/vtkoptix,SimVascular/VTK,keithroe/vtkoptix,johnkit/vtk-dev,berendkleinhaneveld/VTK,msmolens/VTK,jmerkow/VTK,gram526/VTK,ashray/VTK-EVM,hendradarwin/VTK,demarle/VTK,candy7393/VTK,gram526/VTK,jmerkow/VTK,berendkleinhaneveld/VTK,msmolens/VTK,ashray/VTK-EVM,candy7393/VTK,aashish24/VTK-old,collects/VTK,biddisco/VTK,gram526/VTK,sumedhasingla/VTK,johnkit/vtk-dev,mspark93/VTK,ashray/VTK-EVM,SimVascular/VTK,sankhesh/VTK,sankhesh/VTK,demarle/VTK,msmolens/VTK,candy7393/VTK,berendkleinhaneveld/VTK,sumedhasingla/VTK,hendradarwin/VTK,sumedhasingla/VTK,hendradarwin/VTK,sankhesh/VTK,sankhesh/VTK,aashish24/VTK-old,jmerkow/VTK,gram526/VTK,hendradarwin/VTK,sankhesh/VTK,collects/VTK,collects/VTK,gram526/VTK,gram526/VTK,keithroe/vtkoptix,biddisco/VTK,aashish24/VTK-old,biddisco/VTK,msmolens/VTK,mspark93/VTK,jmerkow/VTK,demarle/VTK,sankhesh/VTK,johnkit/vtk-dev,sumedhasingla/VTK,demarle/VTK,SimVascular/VTK,collects/VTK,mspark93/VTK,berendkleinhaneveld/VTK,keithroe/vtkoptix,demarle/VTK,jmerkow/VTK,ashray/VTK-EVM,collects/VTK,ashray/VTK-EVM,johnkit/vtk-dev,candy7393/VTK,biddisco/VTK,hendradarwin/VTK,msmolens/VTK,jmerkow/VTK,candy7393/VTK,mspark93/VTK,demarle/VTK,jmerkow/VTK,candy7393/VTK,msmolens/VTK,sumedhasingla/VTK,SimVascular/VTK,candy7393/VTK,gram526/VTK,johnkit/vtk-dev,keithroe/vtkoptix,gram526/VTK,aashish24/VTK-old,sumedhasingla/VTK,ashray/VTK-EVM,berendkleinhaneveld/VTK,candy7393/VTK,SimVascular/VTK,keithroe/vtkoptix,SimVascular/VTK,hendradarwin/VTK,SimVascular/VTK,mspark93/VTK,collects/VTK,sankhesh/VTK,mspark93/VTK,johnkit/vtk-dev,demarle/VTK,mspark93/VTK