Fixed bug where the bars where always visible