If you draw a trace and you switch two or more layers, for example, 4L stack up and you go from Top => Mid-layer 1 => Mid-layer 2 => Bottom ( you need to press "V" 3 times) then you get 3 vias and 2 zero-length traces in the same position