If it worked properly before, but it suddenly stopped working, then it is recommended that you reinstall the Leap Motion Orion and try again.
https://staging.corporate.ultraleap.com/download/software?name=tracking-software&version=4.1.0&platform=windows