Minor fix to globalPosition of ROOT