Fix isSolid option for path finding method