Fixes #6518 : Reorder menu does not work in edit mode.