Issue #2226055 by sjbassett: Menu fragments are not being passed in the  function