I've been trying to get pathfinding to work properly but I'm at my wits end. The red squares always partially go into the wall, sometimes ignore a wall complete...