Fixed an issue where the content in some views was not expanded correctly when collapsing the settings panel.