Fixed multiple minor issues with transitions.