Fixed a bug with the size not being recalculated at box join