Fix bar flicker