fixed textAttachment's displaySize is set to _size when element has a style even if height or width attributes are not available, causing height or width of displaySize set to 0