Boks rise above distractions to keep Rugby Championship hopes alive