Fix freezing bug where no random points could be found when the map got small