Fixing blinking cursor in windows