PL7 freezes when using an eraser brush on a luminosity mak

Quite regularly PL7 freezes (beach ball spinning) when using a brush as eraser on a luminosity mask.

I’m using the latest version and MacOs Sonoma (last version as well).
I had the color palette open as well in order to chose the mask color.