topbar: Fix lines appearing when no menu-icon

When .menu-icon is not specified and the menu is expanded, the shadow
used to generate the toggled menu-icon is still being applied.

Resolution:

- Check whether .menu-icon is applied

Fixes #2711