- Fix type in GetRandomRegion function.