Fixed some stuff in MapGenerator