Fixed KinectSensor.cs for restart