Fixed the flashing text while animation