Prevent crash on @linestimulus\displayFrame

due to running out of data