fixed issue with input pad not working with touch