Add method to calculate absolute offset of visual items