Fixed bug where squares are being instantiated incorrectly