Fix copying text properties by 'format'