Fixed a bug when kinect is not connected to nao