Fixed AutoTiling on map edges (really this time)