Fixed bug in setter for property 'inDom'