Fixed null array in gamehandler.js:checkMove