Finally fix the slate config issue which took the menubar not into account