Add clearing frame before drawing.