Fix coordinate issues with MoveGen