Fixed a visibility bug when using the "Expand All" feature from the toolbar.