Fixing double center container view being created and added to view heir...

Fixes the center container view being created and added to the view hierarchy twice in some situations.