Adjust frame height if tabBar is hidden

When a tabBarController is present, but hidden, this fix prevents the view from resizing to make room for the hidden tabBar (which previously resulted in a white bar). If the tabBar is shown, this change has no effect.