The OFFSET function is not calculating the toRow and toCol correctly.
Current code:
```
var toRow = (height != 0 ? height : adr._toRow) + rowOffset;
var toCol = (width != 0 ? width : adr._toCol) + colOffset;
```
Proposed Code:
```
var toRow = (height != 0 ? fromRow + height : adr._toRow + rowOffset);
var toCol = (width != 0 ? fromCol + width : adr._toCol + colOffset);
```
Current code:
```
var toRow = (height != 0 ? height : adr._toRow) + rowOffset;
var toCol = (width != 0 ? width : adr._toCol) + colOffset;
```
Proposed Code:
```
var toRow = (height != 0 ? fromRow + height : adr._toRow + rowOffset);
var toCol = (width != 0 ? fromCol + width : adr._toCol + colOffset);
```