Fix small glitch with refreshing.