stop flickering on iOS devices