Fixed menu item height bug in isMenuItemVisible

Cleaned up code a bit