Made it so that the height/width auto is only called when 'show' is executed.