Removed unused code from Leap onFrame handler