fix return of painted in grid_renderer