fix render bug with too many containers