Fix Path visualization.

It's only for SampledProperty for now.