Fixed content resizing

Fix resizing of email content, broken when text and headers views were added.