Fix crash when pasting line element
(unreleased regression from commit 4e7e49cb2a105, Dec 8 2016)
Solution is to avoid removing properties and hiding instead.