Fix player not taking damage bug.