Changed calls trying to update values with outerHeight/outerWidth to height/width.