     domainsContainer = new EnvironmentDomainContainer
     @scene.addContainer domainsContainer
 
+    domainsContainer.on 'itemRemoved', @lazyBound('updateView', yes)
+    domainsContainer.on 'itemAdded',   @lazyBound('updateView', yes)
+
     # VMs / Machines Container
     machinesContainer = new EnvironmentMachineContainer
     @scene.addContainer machinesContainer

    extrasContainer = new EnvironmentExtraContainer
    @scene.addContainer extrasContainer

    # domainsContainer.on "itemRemoved", scene.bound 'updateConnections'
    # KD.getSingleton("vmController").on 'VMListChanged', -> refreshContainers()
      cssClass : 'stack-toggle'
      callback : =>
        @setHeight if @getHeight() < 300 then 600 else 36
        KD.utils.wait 300, @bound 'updateView'

    # Main scene for DIA
    @addSubView @scene = new EnvironmentScene
