fix blink bug currentElement