Add to view controller to container before transition

This solves the problem where a view might not inherit a tint color until after the transition is complete