Why are my square positions not netted out and removed from the positions list?