LayerMold.frames does not crash if numFrames is zero