Castling handled properly