Fixed bug where map tiles were being created in the wrong order