Slightly tweak exit position in automap

Fix MSVC compile