fix for issue with Cursor that turned out to be a leaking DC
Authored by: matzon 2010-01-10
Parent: [r3262]
Child: [r3264]