illegal castling move fix