Fixed castlingEnabled