Fix auto resize checker max-height bug.