Fixed bug that broke setting up positions with setBoard from the code itself