set height to calculated height instead of '', fixes invisible content issue

See https://projects.syslab.com/issues/8416