Fixed an issue with the sidebar being drawn under elements