fixed avatar refresh in chat widget (issue #275)