make Image and Text inherit from PlotElement