Clearing the element before drawing