magicalhippo parent
I can't recall if it was Falstad or which other simulator code I read, but it had "connect this one terminal to ground via multi-Gigaohm resistor for stability" sprinkled throughout the code for capacitors and similar components.
SPICE can do that with 'gshunt' option.