Canvas: avoid anted cursor crash in Gnumeric.

With this patch we will be more careful in removing items from a canvas.
The canvas stores direct pointers to some items and we now clear them
consistently.