Fixed flickering in safari iOS 8.