Eureka! Building position was in another castle^W memory location

This fixes bulding position errors most visible on fences
Only paint ground which belongs to the map
Tweak debug rendering