fix num allocated brushes/polygons