Fixed bug where player dies instantly when spawned