Refactoring and fixing a bug around nib-instantiated views.