solved bug of LeapInput