Cleared the cached min-height during the reset loop to ensure that height is applied properly when the window is resized.