Fixed a bug in pieces.js that was preventing some squares from being filled.