Inheritance Class Objects in 2D Grid Array do not align

To offset rectangle position when I draw from from center – ie rectMode(CENTER) is also in the code.