Fix message decryption in preview window

Fixes #12