Bug fix for directions perpendicular to Z in DistFromInside