Fix scale in/out animations on iOS 7.