fix for flicker on iphone