Fixing bug in UINavigationController category.