Fixed a bug that broke en passant and castling.