I resolved it by updating foldxa and foldya using Windows spy
Code:
if Top = 1
{
foldxa := 437
foldya := 585
checkfoldya := 540
potxa := 760
potya := 505
halfpotxa := 700
halfpotya := 505
Instead of clicking on fold/check area it clicks on the fold button below it. So it still works even if the big fold button is not present.
The only drawback is if Im BB, and I pre fold, it will fold my cards even if no one raises.