Handle replot when drawing items.
Remove debugging information.