Bug fix of restoring captured piece button