Fix empty menu editing.