make Grid inherit from PlotElement