Bug 1058900 - [email] Workaround graphics corruption / memory spikes by cleaning up HTML display logic.