The African champions only arrived in Brazil 36 hours before the game after a row over bonus payments, but with the victory they leapfrogged world champions Spain to the top of Group B.