ApplyEffectInvert does not work in Corel 2023

Here is a macro:

Dim OrigSelection As shapeRange
Set OrigSelection = ActiveSelectionRange

OrigSelection.ApplyEffectInvert
'OrigSelection.Shapes(1).ApplyEffectInvert 'Does not work either

When calling either of these methods with a bitmap selected, the bitmap does not change.

When recording a macro and doing Effects > Transform > Invert Colors from the menu, no action is recorded.

We did find a workaround for this in our use case, but I am reporting it regardless.