[CDE-407]: Duplicate space element with 0 width doesnt work

@pamval please review