Fix merging of text elements.
Fix merging of empty or overridden paper bounds.