touchInput: fix repeat mouse events causing stuck buttons