When texture painting, brush textures and brush texture masks were not
transformed to account for UDIMs tiles.
This simply transforms the stencil mapping rect according to the tile
being painted/sampled.
This would be a candidate for 2.83 and 2.93 if accepted.
