fix casting rights after FEN pasting