Bugfixes (buildingrotation)

rotated buildings caused some problems