resize cursor on win platform