Fix images blinking