added globalOffset properties

added globalOffsetX and  globalOffsetY properties