Fix the broken Edit Menu when UImanager is used.