Fixed some issues when loading custom maps with non-matching area IDs.
Fix rare occurrences where player won't be rendered on the screen and player doing weird behaviors after game has finished loading.