Fix view.transitionTo-related deprecation warnings