Quoted from PinballHelp:Another trick with proximity sensors is once you get the board set right, take a drop of nail polish and dab it on the pot to lock it in place and keep it from moving.
This is what glyptal is used for but as Phelp stated nail polish works well also and is easy to find.