Fix IsOnSeparateCPUThread(), was always false.

Erp, because of detach().