map onload waits for tileset to load in