Fixes issue where receiving a message on a visible chat window would
bring it in-focus, which could interrupt your typing.