Fixed a crash in cases Item do not have anchors.