Add auto hit detection to movePiece()