Fix chat focus issues once and for all