fixes #2697 (out of order menu manipulations)

fixes #2697