fix parent menu recursive iteration
Merge branch 'refs/heads/master' into 2.1