Fix the bug of sidebar not displaying by default