Fix min height on resize