Simplify getMenuWidth()