only renderBody when view is visible/expanded (#165187)
only renderBody when view is visible/expanded (#165187)

fixes PaneView calls renderBody even when the pane is collapsed #164662
microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode,microsoft/vscode