Fixed some variables used when referencing squares on the grid for pinging