Fix bug in GetProcessPosition