#5233, #5232: hotfix for menu's actions