Fixing bug with boulder terrain prefab, only works for straight paths