fix call stack blowup when using flex-wrap: wrap

see #150