Fix bug where screen of root is shown in menu