fix flicker on flash messages