When preview is visible, tell the editor to display the scrollbar if needed