Fix blink and hide cursor after timeout