       cssClass : 'stack-toggle'
       callback : =>
         @setHeight if @getHeight() < 300 then 600 else 36
-        @scene.updateConnections()
-        KD.utils.wait 200, => @scene.updateScene()
+        KD.utils.wait 300, @bound 'updateView'
 
     # Main scene for DIA
     @addSubView @scene = new EnvironmentScene

    domainsContainer = new EnvironmentDomainContainer
    @scene.addContainer domainsContainer

    # VMs / Machines Container
    machinesContainer = new EnvironmentMachineContainer
    @scene.addContainer machinesContainer

    extrasContainer = new EnvironmentExtraContainer
    @scene.addContainer extrasContainer

  updateView:(updateData = no)->

    @scene.updateConnections()  if updateData

    @scene.highlightLines()
    @scene.updateScene()
