ensure grid.rect draws transparent rectangles