Small cleanup for e0838b0
Fix for #3743, georeferencer: can't set map coords from map canvas on Mac