Momentary button not working with HMI in touchscreen mode

I have a momentary button that I am having issues with being operated from a touchscreen. When pressing from HMI, it only writes the value for 3 secs. max but when operating from laptop with mouse it writes the value as long as it is down pressed. I installed nomousy thinking that maybe it was because of the cursors slight movements when pressing from the HMI, but that didn’t work. I’ve tried buttons (mousePressed) but I run into the same issue, seems like the downpress doesn’t hold that state. Anyone else run into this issue when using touchscreen HMI’s?
Thanks!

this ended up being a setting on the touchscreen, I disabled ‘auto right-click’ and the momentary buttons work good.