Fixed bug with kinect restart