Correct broken display of side-panel when overflow set on main.