Bug that the containerSize is not known yet.
But when it is recalculating the containerSize is 0.
In this fix this is updated after every recalculate().