fixed image flicker