Messages marked read without reading

Messages are marked as read even when the message itself isn’t displayed yet.

Steps to reproduce:

  1. Turn off reading/preview pane
  2. Open a message
  3. Click Delete button on message
  4. Close messages window
  5. Click on messages that are unread. They will turn to read according to the timeout specified.

This will cause a lot of missed messages!