Focus the Buddy List before looking for something happening in it (Closes: #8161).

This should make the Pidgin tests more robust.