fix unread message drawing issue on linux