Fixed Bug In monochromatic cursors and hidden cursor handling.

Now context mode can capture monochromatic cursors, and doesn't break if
the cursor stops showing altogether.