Fixed near mode not working

-the setting was reset when we were restarting the Kinect sensor