Fixed invalidation of brush transform.