Change location of rect in 1x1 case
Change location of rect in 1x1 case

As can be seen in this jsfiddle, https://jsfiddle.net/asteriskman/kk6v0tu4/ , the 1x1 rectangle was being placed incorrectly. It must be offset by -0.5 in the x and y direction to line up with other rects.
kuldipem/fabric.js,rockmacaca/fabric.js,rockmacaca/fabric.js,kuldipem/fabric.js