Castling and EnPassant bug fix