Fix #4312 : cursors on Windows