potential fix for ios flicker