Shaped Gradient and Selection Issue

Sometimes, but not all the time, these solid rectangles appear when I am using the shaped gradient tool to fill freehand selections. Doesn’t seem to happen with a linear, radial gradient.

Using latest beta on MacBook Pro (Big Sur)