Fixed CreateProcessRecord / AsWorkerRef bug