Fixed Bug in Clearing Board if Invalid Move