fixed hight not scaled correctly bug