Thank you. The issue was with switching the camera. I tried to implement it, like you can press a key to switch between ghost and player. But it was buggy and i couldn't figure out how to polish it. So i scrapped the idea, and choose this. I will try to improve it in thr future.