FINAL: Fix wrong pid() in component when using fork().