AviSynth Wiki:
Filters with multiple input clips
StackHorizontal, StackVertical: Framecount – longest clip: the last frame(s) of the shorter clip(s) are repeated until the end
Is it different for AviSynth+ that the shorter clip keeps playing, instead of freezing its last frame?