#1006 Add support fixed on getOffset utility.