fix building placement crash (hopefully)