Removed bug from OpenNiDevice.