Fixes the problem that the geometry of the interface widget was not updated when the connection was disconnected
CCBUG:403761