don't overwrite height / width attributes when the element is hidden on page load