bugfix for visibility when agent is down

Right now, the UI does not show when an agent is down. This should fix that.