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