Don't try to render the console when hidden

Fixes #1851 - due to large object being "prettyPrinted" during the animation.