fix gridline alignment bug in arrayPlot