Not seen those before. I'm betting there are microswitches indside that the two plungers activate.
Option 1 - take the things apart and see what's inside. Post a photo and we'll see what might be fitted as a replacement with better repeatability.
Option 2 - remove them and retrofit different switches.
The trick is to figure out what signals the switches send to the control so you can duplicate it with new switches. It may be a little fussy retrofitting NPN or PNP proximity sensors in place of the (probable) microswitches, but it's do-able.
Option 1 - take the things apart and see what's inside. Post a photo and we'll see what might be fitted as a replacement with better repeatability.
Option 2 - remove them and retrofit different switches.
The trick is to figure out what signals the switches send to the control so you can duplicate it with new switches. It may be a little fussy retrofitting NPN or PNP proximity sensors in place of the (probable) microswitches, but it's do-able.