Improved neighbor height detection when placing collapsible blocks