Allow transitions to occur when there is no view to transition to

The built-in transition already handles transitioning a view out without transitioning a new view in, but the shouldTransition function stopped it from ever being called. This commit allows shouldTransition to evaluate to true even if there is no new child.