Turn on:
Preferences -> Messages -> Collect chats into a single window

and restart iChat.

The problem should go away.