Automapper: fix wrong tile orientation and correctly handle border tiles
Merge pull request #1190 from cinaera/fix_automapper

Automapper: fix wrong tile orientation and correctly handle border tiles