Fix fragment creation / loading.

Ensure that there is a component assigned to the fragment in
onCreateView and not in onCreate.