Fixed a flash/flicker