Fixed flashing glitch