Fixed issues with active menus.

Close #88