Fix terminal when it's not in the DOM on Init