fixed background problems with iOS 8