Fixed double rendering of sidebar.