fixed window flashing on fade in