fix #3410

this could only happen if a building was spawned on top
of a mobile unit, so not an issue during normal gameplay