adjustWidth and adjustHeight does not work in file Element.js, because the result of this methods does not assigned to resulting width or height.