Prevent iOS8 flickering