Fixed en passant and castling bugs.