Fix bug on plotter element.