Fixed sidepanel bug