Fix crash when placing walkways.