Fixed a segfault when a piece captured another.

currentPiece was set to the recently deleted captured piece. Operations on currentPiece caused a segfault.