Make sure height setting takes into account container type