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

The original code does not use the primary monitor's x and y coordinates, so the code does not have the intended effect unless the primary monitor is placed top-aligned with the rest of the monitors.