Return absolute value instead.
Merge pull request #4326 from freezerbunny/map-border-copy-fix

[BUGFIX] Prevent cloning near map border. (corrects 02a1426)