Fixes chat notifications not being displayed when chat is opened, but not active(focused).