OnTransitioned must be called before OnEntry