Fix vertical height bug