fixed bug that shifted tiles of buildings
moved to class attributes the Object.defineProperties calls on sprites