Fixes the double render bug 

See https://github.com/mronge/MailCore/commit/a857dd00af728f7dd1bc5db7015482fabb7a43cc