Fixed a fatal crash and a few other animation glitches in iOS 8.