Why no polylineVolume material at the top

In the code example, when changing the material to an image, why can the images be displayed on both sides normally and not on the top? The top seems to be stretched, only showing the white part.