Fixed transitionToSize for iOS