fixed video flicker bug