Fix bug in useKinect()