OutOfBounds exception when game is finished bug fixed.