Is this really required? I am assuming setting the height later in this function will always force the new height.