Improved cursor management.

FIXME : drawHexUsingPoly()