Respawn system doesn't work 2d

I get this image after my character dies.