Use of computedStyle for getting size fixes some layout problems