Fixes cells wrapping around the graph to get neighbors (shouldn't happen) - aided by a visual cue to show neighbors (light yellow).