Fixed problem with attacks on player and navmesh (will need some Quality of life improvements in the future)