iOS retina screenshot problem workaround by adding 0.5s delay