Fix height bug in view