Expose helper method getPositionOffset externally