Improved the way how it's checked if a world is a flatworld.