Fixed bug with rezising height