Fix #48: Remove visible cursor trail.

Store a buffer with the surface content potentially occluded by the cursor. Using this buffer the old cursor can be undrawn before it is moved.