Make sure that any objects being removed from the scene are also detached from the transformControls before the next render pass.
@@ -410,6 +410,10 @@ var Viewport = function ( editor ) {
} );
signals.objectRemoved.add( function ( object ) {
+
+ if(object === transformControls.object){
+ transformControls.detach();
+ }
object.traverse( function ( child ) {