This is a fix for the code that removes the undercut when the navbar is translucent.

If the current view controller is a navigation controller then it will not have its own navigation controller.