Remove cursor elements before drawing