Map::tileAt: Add range checking assertions in debug mode