Be conservative about dirtying paint nodes
Rebuilding regions can be an expensive operation, and we're adding more of them. This means we need to be clever about when we actually do them.
Only dirty the paint nodes when the transform or buffer size has actually changed, not on every commit.