Draw simple shape with ink brush, say a square .

With a solid color fill tool I can fill the middle of the square.

But if I use a gradient or pattern, it fills the entire canvas.

???