Right-click action menu does not refresh

I have a Table with an Action.Handler. Works fine except when one of the selected Actions makes new right-click menu options possible. The right-click menu does not refresh. It just shows the same options.

The action handler gets run when the Table is displayed and doesn’t get called again.

How can I trigger a refresh here? This has been asked a couple of times on the forums but never answered (see 19295 and 286128).