Moved setSize on initial dom element to the DomTools