Fix background bug on iOS 8