Some bugfixes for GlobalPosition