Prevent error when menu is not present.