Fix deckedit crash