Set correct hieght for frame