this feature was ported from 2.5x but not tested, referring to the wrong object when assigning actions.