[main.js] Use primary monitor's x,y coordinates when positioning cursor in the primary monitor.
Merge pull request #1509 from autarkper/primary-setposition-fix

[main.js] Use primary monitor's x,y coordinates when positioning cursor in the primary monitor.